fa1a03bcda0eb2af6f5312ea1271532616f625b4,src/main/java/spim/fiji/plugin/removedetections/InteractiveProjections.java,InteractiveProjections,InteractiveProjections,#SpimData2#ViewDescription#String#String#number#,47

Before Change


		this.runAfterFinished = new ArrayList< Thread >();

		IOFunctions.println( "(" + new Date( System.currentTimeMillis() ) + ": Loading image ..." );
		RandomAccessibleInterval< FloatType > img = spimData.getSequenceDescription().getImgLoader().getFloatImage( vd, false );

		IOFunctions.println( "(" + new Date( System.currentTimeMillis() ) + ": Computing max projection along dimension " + projectionDim + " ..." );
		final Img< FloatType > maxProj = ExtractPSF.computeMaxProjection( img, new ArrayImgFactory< FloatType >(), projectionDim );

After Change


	protected List< InterestPoint > ipList;
	final protected List< Thread > runAfterFinished;

	public InteractiveProjections( final SpimData2 spimData, final ViewDescription vd, final String label, final String newLabel, final int projectionDim )
	{
		this.isRunning = true;
		this.wasCanceled = false;
		this.runAfterFinished = new ArrayList< Thread >();

		IOFunctions.println( "(" + new Date( System.currentTimeMillis() ) + ": Loading image ..." );
		RandomAccessibleInterval< FloatType > img = spimData.getSequenceDescription().getImgLoader().getSetupImgLoader( vd.getViewSetupId() ).getFloatImage( vd.getTimePointId(), false );

		IOFunctions.println( "(" + new Date( System.currentTimeMillis() ) + ": Computing max projection along dimension " + projectionDim + " ..." );
		final Img< FloatType > maxProj = ExtractPSF.computeMaxProjection( img, new ArrayImgFactory< FloatType >(), projectionDim );